public NRaster( System.int width, System.int height, NPixelFormat pixelFormat, System.int stride, System.byte[] data )
Parameters
- width
- Width of the raster (in pixels). Must be greater than zero.
- height
- Height of the raster (in pixels). Must be greater than zero.
- pixelFormat
- Pixel format of the raster. Must not be set to null.
- stride
- Raster stride.
- data
- A byte array containing the raster's pixel data.